<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title><!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ShopEase - 首页</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#165DFF',
                        secondary: '#FF7D00',
                        neutral: {
                            100: '#F5F7FA',
                            200: '#E5E6EB',
                            300: '#C9CDD4',
                            400: '#86909C',
                            500: '#4E5969',
                            600: '#272E3B',
                            700: '#1D2129',
                        }
                    },
                    fontFamily: {
                        inter: ['Inter', 'system-ui', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    <style type="text/tailwindcss">
        @layer utilities {
           .content-auto {
                content-visibility: auto;
            }

           .card-shadow {
                box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            }

           .card-hover {
                transition: transform 0.3s ease, box-shadow 0.3s ease;
            }

           .card-hover:hover {
                transform: translateY(-5px);
                box-shadow: 0 10px 30px rgba(22, 93, 255, 0.15);
            }

           .scrollbar-hide::-webkit-scrollbar {
                display: none;
            }

           .scrollbar-hide {
                -ms-overflow-style: none;
                scrollbar-width: none;
            }
        }
    </style>
</head>

<body class="font-inter bg-neutral-100 text-neutral-700">
    <!-- 导航栏 -->
    <nav class="sticky top-0 z-50 bg-white shadow-md transition-all duration-300">
        <div class="container mx-auto px-4">
            <div class="flex items-center justify-between h-16 md:h-20">
                <!-- Logo -->
                <a href="/" class="flex items-center space-x-2">
                    <span class="text-primary text-2xl font-bold">ShopEase</span>
                </a>

                <!-- 搜索框 -->
                <div class="hidden md:flex flex-1 max-w-xl mx-8 relative">
                    <form action="/search" method="GET">
                        <input type="text" id="search-input" name="query" placeholder="搜索商品..."
                            class="w-full pl-4 pr-10 py-2 rounded-full border border-neutral-200 focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary transition-all">
                        <button type="submit" class="absolute right-2 top-1/2 transform -translate-y-1/2 text-neutral-400 hover:text-primary transition-colors">
                            <i class="fa fa-search"></i>
                        </button>
                    </form>
                    <div id="search-suggestions" class="absolute top-full left-0 right-0 hidden"></div>
                </div>

                <!-- 导航链接 -->
                <div class="flex items-center space-x-4 md:space-x-6">
                    <a href="/search" class="text-neutral-500 hover:text-primary transition-colors hidden md:block">
                        <i class="fa fa-search text-lg"></i>
                    </a>
                    <a href="#" class="text-neutral-500 hover:text-primary transition-colors relative">
                        <i class="fa fa-shopping-cart text-lg"></i>
                        <span class="absolute -top-2 -right-2 bg-secondary text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">3</span>
                    </a>
                    <a href="#" class="text-neutral-500 hover:text-primary transition-colors">
                        <i class="fa fa-heart-o text-lg"></i>
                    </a</title>
</head>
<body>

</body>
</html>